import request from '@/utils/request'
import { CURDApiBase } from '../curd-api-base'

export default new class ImportApi extends CURDApiBase {
  constructor () {
    super('/wms-order/api/import')
  }

  /**
  * 审核入库单
  * @param {String} id
  */
  receivingComplete(id) {
    return request({
      url: 'warehouse/api/import/complete/' + id,
      method: 'put'
    })
  }
}()
